package a.j;

import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;
import java.util.ArrayList;

public abstract class u
  implements dd
{
  private boolean a = true;
  private boolean b;
  private ArrayList c = new ArrayList();
  public static boolean d;
  
  public boolean e()
  {
    return this.a;
  }
  
  public void a(boolean paramBoolean)
  {
    this.a = paramBoolean;
  }
  
  public boolean a()
  {
    return this.a;
  }
  
  public boolean b()
  {
    return this.b;
  }
  
  public void c()
  {
    if (!ld.E)
    {
      if (!this.b) {
        this.b = true;
      }
    }
    else {
      f();
    }
  }
  
  public void d()
  {
    if (!ld.E)
    {
      if (this.b) {
        this.b = false;
      }
    }
    else {
      f();
    }
  }
  
  protected void f()
  {
    boolean bool = ld.D;
    if (!this.c.isEmpty())
    {
      ChangeEvent localChangeEvent = new ChangeEvent(this);
      ChangeListener[] arrayOfChangeListener = new ChangeListener[this.c.size()];
      this.c.toArray(arrayOfChangeListener);
      int i = arrayOfChangeListener.length - 1;
      do
      {
        if (i < 0) {
          break;
        }
        arrayOfChangeListener[i].stateChanged(localChangeEvent);
        i--;
      } while (!bool);
    }
  }
  
  public void a(ChangeListener paramChangeListener)
  {
    this.c.add(paramChangeListener);
  }
  
  public void b(ChangeListener paramChangeListener)
  {
    this.c.remove(paramChangeListener);
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.j.u

 * JD-Core Version:    0.7.0.1

 */